package cn.gok.service.impl;

import cn.gok.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * @author: chen fan
 * @since: 2022/11/9 15:23
 * @description:
 */
@Service
public class UserServiceImpl implements IUserService {
    @Override
    public void addUser() {
        System.out.println("新增用户。。。");
    }
    @Override
    public void updateUser() {
        System.out.println("修改用户。。。");
    }


    @Override
    public void deleteUser() {
        int i = 10/0;
        System.out.println("删除用户。。。");
    }

    @Override
    public void getUserInfo(int id) {
        System.out.println("id: "+ id);
        System.out.println("获取用户信息。。。");
    }
}
